@import './styles/index.scss';
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

//卡片容器内部分割线
.card-wrap {
  .card-main {
    .CardPanelLine {
      width: 100%;
      height: 1px;
      background: #e6e6e6;
      position: relative;
      margin: 20px 0;
    }
    .CardPanelLine::before {
      content: '';
      position: absolute;
      width: 100%;
      height: 1px;
      background: #e6e6e6;
      left: 0px;
      top: 0;
      bottom: 0;
      right: 0;
      margin: auto;
    }
    .CardPanelLine::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 1px;
      background: #e6e6e6;
      left: 0;
      top: 0;
      bottom: 0;
      right: 0px;
      margin: auto;
    }
  }
}

//弹框内容区域样式
.sky-dialog-body {
  padding: 25px;
  padding-bottom: 80px;
}
// 弹框底部按钮
.sky-dialog-footer {
  display: flex;
  justify-content: flex-end;
  & > div {
    margin: 0 5px;
  }
}

.table-containter {
  .SkyInput {
    height: 28px !important;
    input[type='text'] {
      height: 28px;
    }
  }
}

// 外链容器底部按钮
.SkyOutSideFooter {
  display: flex;
  justify-content: center;
  & > div {
    margin: 0 5px;
  }
}

// 表单校验错误
.ErrorFormItem {
  input {
    border: 1px solid red !important;
  }
}
td.is-right {
  .SkyInput {
    input {
      text-align: right;
    }
    .virtual-input {
      text-align: right;
    }
  }
}

//表格下的表单只验证不提示
table {
  .SkyFormItem {
    padding-bottom: 0 !important;
    .form-item-content {
      input {
        height: 28px;
      }
      .error {
        display: none;
      }
    }
  }
}
